Package com.cisco.pt.ipc.sim.impl
Class VirtualTemplateManagerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.VirtualTemplateManagerImpl
- All Implemented Interfaces:
IPCObject,Process,VirtualTemplateManager
Information provided by the PKI file:
\class VirtualTemplateManager
\brief VirtualTemplateManager manages and manipulates virtual template interfaces for PPPoE.
\example network().getDevice("Router0").getProcess("VirtualTemplateManager")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionVirtualTemplateManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionaddVirtualTempIntByNum(int number) Information provided by the PKI file:voidaddVpdnGroupByName(String name) Information provided by the PKI file:getIntAt(int number) Information provided by the PKI file:intInformation provided by the PKI file:getVirtualTempIntByNum(int number) Information provided by the PKI file:getVpdnGroupAt(int index) Information provided by the PKI file:getVpdnGroupByName(String name) Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:voidremoveVirtualTempByNum(int number) Information provided by the PKI file:voidremoveVpdnGroupByName(String name) Information provided by the PKI file:voidsetVpdnEnable(boolean flag) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
VirtualTemplateManagerImpl
public VirtualTemplateManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
addVirtualTempIntByNum
Information provided by the PKI file:
\brief Adds a virtual template interface. \param number, the interface number for the virtual template interface.- Specified by:
addVirtualTempIntByNumin interfaceVirtualTemplateManager- Parameters:
number- Takes in a parameter of number- Returns:
- VirtualTemplateInterface Returns a VirtualTemplateInterface
-
removeVirtualTempByNum
public void removeVirtualTempByNum(int number) Information provided by the PKI file:
\brief Removes the virtual template interface with the specified interface number. \param number, the interface number of the virtual template interface of interest.- Specified by:
removeVirtualTempByNumin interfaceVirtualTemplateManager- Parameters:
number- Takes in a parameter of number
-
getVirtualTempIntByNum
Information provided by the PKI file:
\brief Returns the virtual template interface with the specified interface number. \param number, the interface number of the virtual template interface of interest. \return VirtualTemplateInterface, the VirtualTemplateInterface object with the specified interface number.- Specified by:
getVirtualTempIntByNumin interfaceVirtualTemplateManager- Parameters:
number- Takes in a parameter of number- Returns:
- VirtualTemplateInterface Returns a VirtualTemplateInterface
-
getIntCount
public int getIntCount()Information provided by the PKI file:
\brief Returns the number of virtual template interfaces. \return int, the number of virtual template interfaces.- Specified by:
getIntCountin interfaceVirtualTemplateManager- Returns:
- int Returns a int
-
getIntAt
Information provided by the PKI file:
\brief Returns the virtual template interface at the specified index. \param number, the index of the virtual template interface of interest. \return VirtualTemplateInterface, the VirtualTemplateInterface object at the specified index.- Specified by:
getIntAtin interfaceVirtualTemplateManager- Parameters:
number- Takes in a parameter of number- Returns:
- VirtualTemplateInterface Returns a VirtualTemplateInterface
-
addVpdnGroupByName
Information provided by the PKI file:
\brief Adds a VPDN group. \param name, the name for the VPDN group.- Specified by:
addVpdnGroupByNamein interfaceVirtualTemplateManager- Parameters:
name- Takes in a parameter of name
-
removeVpdnGroupByName
Information provided by the PKI file:
\brief Removes the VPDN group with the specified name. \param name, the name of the VPDN group of interest.- Specified by:
removeVpdnGroupByNamein interfaceVirtualTemplateManager- Parameters:
name- Takes in a parameter of name
-
getVpdnGroupByName
Information provided by the PKI file:
\brief Returns the VPDN group with the specified name. \param name, the name of the VPDN group of interest. \return VpdnGroup, the VpdnGroup object with the specified name.- Specified by:
getVpdnGroupByNamein interfaceVirtualTemplateManager- Parameters:
name- Takes in a parameter of name- Returns:
- VpdnGroup Returns a VpdnGroup
-
getVpdnGroupCount
public int getVpdnGroupCount()Information provided by the PKI file:
\brief Returns the number of VPDN groups. \param int, the number of VPDN groups.- Specified by:
getVpdnGroupCountin interfaceVirtualTemplateManager- Returns:
- int Returns a int
-
getVpdnGroupAt
Information provided by the PKI file:
\brief Returns the VPDN group at the specified name. \param index, the index of the VPDN group of interest. \return VpdnGroup, the VpdnGroup object at the specified name.- Specified by:
getVpdnGroupAtin interfaceVirtualTemplateManager- Parameters:
index- Takes in a parameter of index- Returns:
- VpdnGroup Returns a VpdnGroup
-
setVpdnEnable
public void setVpdnEnable(boolean flag) Information provided by the PKI file:
\brief Enables or disables VPDN. \param flag, true to enable VPDN, false to disable it.- Specified by:
setVpdnEnablein interfaceVirtualTemplateManager- Parameters:
flag- Takes in a parameter of flag
-
isVpdnEnable
public boolean isVpdnEnable()Information provided by the PKI file:
\brief Returns true if VPDN is enabled, otherwise false. \return bool, true if VPDN is enabled, otherwise false.- Specified by:
isVpdnEnablein interfaceVirtualTemplateManager- Returns:
- boolean Returns a boolean
-